WC_Asaas\Gateway\Gateway C

Total Complexity 114
Dependencies 18
Dependents 20
Total lines 860
Lines of code 443
Logical lines of code 268
Comment lines 289
Methods 34
Properties 8

Methods 34

Method Rating Maintainability Complexity Lines of code
generate_transactions_queue()
B
35 14 84
order_has_subscription()
A
50 10 27
need_single_payment_transaction()
A
50 10 26
process_transactions_rollback()
A
48 7 32
process_refund()
S
50 7 27
set_customer()
S
49 6 30
get_order_total()
S
56 6 17
enable_disable_customer_notifications()
S
57 5 16
is_available()
S
58 4 15
process_admin_options()
S
59 4 14
process_admin_shared_options()
S
59 4 13
get_customer()
S
63 4 11
send_checkout_failure()
S
58 3 16
get_shared_fields()
S
65 4 9
__construct()
S
51 1 26
validate_min_total_field()
S
68 2 7
awaiting_payment_status()
S
67 2 8
get_payment_id_from_order()
S
74 2 4
send_checkout_failure_response()
S
69 2 7
add_checkout_validation_errors()
S
68 2 7
init_logger()
S
68 2 7
init_form_fields()
S
80 1 3
add_validation_errors()
S
75 1 4
replace_config_url()
S
80 1 3
get_error_code()
S
82 1 3
get_logger()
S
82 1 3
get_admin_settings()
S
82 1 3
create_due_date()
S
76 1 4
get_type()
S
82 1 3
get_api_key()
S
82 1 3
add_payment_id_to_order()
S
76 1 4
setup_api()
S
75 1 4
prefix()
S
100 1 0
validate_fields()
S
80 1 3